package com.zisu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @Desc: ""
 * @Author: caixiang
 * @DATE: 2020/9/11 10:20
 */
@Component
public class PaymentFallBackServiceImpl implements PaymentHystrixService {

    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentHystrixServiceImpl fall back===paymentInfo_OK";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "PaymentHystrixServiceImpl fall back===paymentInfo_TimeOut";
    }
}
